package com.tyqx.hashchaindao.mapper;

import com.tyqx.hashchainbean.module.HashIndex;
import com.tyqx.hashchainbean.module.JZTAttachmentBusiness;
import com.tyqx.hashchainbean.module.JZTLogistics;
import com.tyqx.hashchainbean.vo.JZTAttachmentBusinessVO;
import com.tyqx.hashchainbean.vo.JZTLogisticsVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface JZTAttachmentBusinessMapper {


    public int addJZTAttachmentBusiness(JZTAttachmentBusiness jztAttachmentBusiness);

    public List<JZTAttachmentBusinessVO> getJZTAttachmentBusinessByBusiness(String businessOrderNumber);

    public List<JZTAttachmentBusinessVO> grantGetJZTAttachmentBusinessByBusiness(@Param("businessOrderNumber") String businessOrderNumber,@Param("userName") String userName);

    public Integer insertBatch(@Param("jztAttachmentBusinessList")List<JZTAttachmentBusiness> jztAttachmentBusinessList);
}
